<?php
$this->pageTitle=Yii::app()->name . ' - '.Yii::t('default', 'Articles');
$this->breadcrumbs=array(
    Yii::t('default', 'Articles')
  );
?>
<h2 class="filtering">
  <span> <?php echo Yii::t('default', 'Articles')?> </span>
</h2>

<ul class="products type2 gallery article-list">
  <?php
    $dataProvider=new CArrayDataProvider($articles, array('keyField'=>false));
    $dataProvider->pagination->pageSize = 10;
    
    $this->widget('zii.widgets.CListView', array(
        'id'=>'articles',
        'dataProvider'=>$dataProvider,
        'pager'=>array
        (
          'firstPageLabel' => '&lt;&lt;',
          'prevPageLabel'  => '&lt;',
          'nextPageLabel'  => '&gt;',
          'lastPageLabel'  => '&gt;&gt;',
          'footer'=>'',
          'header'=>'',
          'selectedPageCssClass' => 'selected',
          'firstPageCssClass' => '',
          'lastPageCssClass' => '',
          'nextPageCssClass' => '',
          'previousPageCssClass' => '',
          'internalPageCssClass' => '',
          'htmlOptions' => array(
            'class' => ''
          )
        ),
        'pagerCssClass' => 'pagination clear',
        'template'=>'{items}{pager}',
        'itemView'=>'_view_article',
    ));
  ?>
</ul>